<%--
  Created by IntelliJ IDEA.
  User: 73786
  Date: 2021/4/18
  Time: 13:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>
<div class="container">

    <div class="row clearfix">
        <div class="col-md-10 column">
            <div class="page-header">
                <h1>
                    <small>添加学生信息</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/student/addStudent" method="post">
        <div class="form-group">
            <label>学号：</label>
            <input type="text" name="sid" class="form-control" required>
        </div>
        <div class="form-group">
            <label>姓名：</label>
            <input type="text" name="sname" class="form-control" required>
        </div>
        <div class="form-group">
            <label>密码：</label>
            <input type="text" name="pwd" class="form-control" required>
        </div>
        <div class="form-group">
            <label>班级：</label>
            <input type="text" name="classname" class="form-control" required>
        </div>
        <div class="form-group">
            <label>性别：</label>
            <input type="text" name="sex" class="form-control" required>
        </div>
        <div class="form-group">
            <label>年龄：</label>
            <input type="text" name="age" class="form-control" required>
        </div>
        <div class="form-group">
            <label>手机号：</label>
            <input type="text" name="phone" class="form-control" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="添加">
            <span>${msg}</span>
        </div>

    </form>

</div>
</body>
</html>
